package com.zzs.path.entity;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Edge {

    // 关联关系
    Integer id;
    Integer node1Id;
    Integer node2Id;

    // 自身属性
    Integer distance;
    Integer type;

    // 位置信息
    Integer z;
    String building;

    public Edge(Integer id, Integer node1Id, Integer node2Id, Integer distance, Integer type, Integer z, String building) {
        this.id = id;
        this.node1Id = node1Id;
        this.node2Id = node2Id;
        this.distance = distance;
        this.type = type;
        this.z = z;
        this.building = building;
    }
}
